import { i18n } from "@/i18n";

export const idCardFront = {
  url: {
    type: "IMAGE_UPLOAD",
    label: i18n.global.t("formgen.ocrConfig.file")
  },
  住址: {
    type: "INPUT",
    label: "住址"
  },
  公民身份号码: {
    type: "INPUT",
    label: "公民身份号码"
  },
  出生: {
    type: "INPUT",
    label: "出生"
  },
  姓名: {
    type: "INPUT",
    label: "姓名"
  },
  性别: {
    type: "INPUT",
    label: "性别"
  },
  民族: {
    type: "INPUT",
    label: "民族"
  }
};

export const idCardBack = {
  url: {
    type: "IMAGE_UPLOAD",
    label: i18n.global.t("formgen.ocrConfig.file")
  },
  失效日期: {
    type: "INPUT",
    label: "失效日期"
  },
  签发日期: {
    type: "INPUT",
    label: "签发日期"
  },
  签发机关: {
    type: "INPUT",
    label: "签发机关"
  }
};

export const bankCardField = {
  url: {
    type: "IMAGE_UPLOAD",
    label: i18n.global.t("formgen.ocrConfig.file")
  },
  bank_card_number: {
    type: "INPUT",
    label: "银行卡号"
  },
  valid_date: {
    type: "INPUT",
    label: "有效期"
  },
  bank_card_type: {
    type: "INPUT",
    label: "银行卡类型"
  },
  bank_name: {
    type: "INPUT",
    label: "银行名称"
  },
  holder_name: {
    type: "INPUT",
    label: "持卡人姓名"
  }
};

export const businessLicenseField = {
  url: {
    type: "IMAGE_UPLOAD",
    label: i18n.global.t("formgen.ocrConfig.file")
  },
  经营范围: {
    type: "INPUT",
    label: "经营范围"
  },
  组成形式: {
    type: "INPUT",
    label: "组成形式"
  },
  法人: {
    type: "INPUT",
    label: "法人"
  },
  证件编号: {
    type: "INPUT",
    label: "证件编号"
  },
  注册资本: {
    type: "INPUT",
    label: "注册资本"
  },
  单位名称: {
    type: "INPUT",
    label: "单位名称"
  },
  有效期: {
    type: "INPUT",
    label: "有效期"
  },
  社会信用代码: {
    type: "INPUT",
    label: "社会信用代码"
  },
  实收资本: {
    type: "INPUT",
    label: "实收资本"
  },
  有效期起始日期: {
    type: "INPUT",
    label: "有效期起始日期"
  },
  核准日期: {
    type: "INPUT",
    label: "核准日期"
  },
  成立日期: {
    type: "INPUT",
    label: "成立日期"
  },
  税务登记号: {
    type: "INPUT",
    label: "税务登记号"
  },
  地址: {
    type: "INPUT",
    label: "地址"
  },
  登记机关: {
    type: "INPUT",
    label: "登记机关"
  },
  类型: {
    type: "INPUT",
    label: "类型"
  }
};
